<?php

class newsItemPageActions extends myFrontendAction
{
  public function executeIndex(sfWebRequest $request)
  {
		$this->news = $this->getRoute()->getNewsItemObject();
  }

	
	public function executeArchive(sfWebRequest $request){
		
	}

	public function executePrintView(sfWebRequest $request)
  {
		$this->setLayout(false);
		$this->news = Doctrine::getTable('NewItem')->find($request->getParameter('id'));
	}
}